Added Folia Compatible Player Scheduling#29
Open
thowan-codes wants to merge 2 commits into
Open
Conversation
## Summary
- Add a runtime-selected scheduler adapter for the Spigot plugin.
- Standard Bukkit/Spigot servers retain the existing Bukkit scheduler behavior.
- Folia and Canvas use each player's entity scheduler, allowing scheduled
player work to follow the player between regions.
- Route the delayed join handler and plugin-message send through the adapter.
- Generate `folia-supported: true` in `plugin.yml`.
- Add Thowan to the generated plugin authors list.
- Upgrade the Gradle wrapper and plugin.yml generator.
## Build version rationale
`net.minecrell.plugin-yml` was updated from 0.5.2 to 0.6.0 because 0.5.2
does not expose the `foliaSupported` DSL property required to generate
Folia's `plugin.yml` support flag.
The Gradle wrapper was updated from 7.4.2 to 7.6.4 because plugin-yml 0.6.0
uses Jackson 2.15.2. Gradle 7.4.2 cannot process that dependency's
multi-release Java 19 classes (`Unsupported class file major version 63`);
Gradle 7.6.4 supports them.
This does not change the Java compatibility targets: `common` remains Java 8
and `spigot` remains Java 11.
Updated spigot and sponge build.gradle.kts to match the latest release version+differentiate the spigot version
Author
|
This is my first pull request to a repo that isn't my own, so I'd appreciate constructive feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary